<?php
class SystemActions extends Model
	{
		var $database_config = 'db_config_default';
		public $name = 'system_actions';
		public $table_name = 't_system_actions';
		public $stored_procedure_list = 'sp_system_actions_list';
		public $stored_procedure_list_paged = 'sp_system_actions_list_paged';
		public $stored_procedure_get = 'sp_system_actions_get_by_name';
		public $stored_procedure_delete = 'sp_system_actions_delete';
		public $stored_procedure_insert = 'sp_system_actions_insert';
		public $db_structure = array
		(
			'id' => array			
			(
				'name' => 'system_action_id', 
				'type'=>'bigint',
				'primary_key'=>true,
				'not_null'=>true
			),

			'name' => array			
			(
				'name' => 'system_action_name', 
				'type'=>'varchar',
				'length'=>'50',
				'not_null'=>true
			)
		);	
			
	}
?>